<template>
 <div class="login" :style="backgourndStyle" >
    <div style="height:100px  "></div>
         <div style="height:300x">
                <el-row type="flex" justify="center" style="height:300x">
                    <el-form ref="loginform" :model="user" :rules="rules" status-icon label-width="80px"  class="loginContainer" >
                        <el-form-item label="用户名" prop="name">
                            <el-input v-model="user.name"></el-input>
                        </el-form-item>
                        <el-form-item label="密码" prop="password">
                            <el-input v-model="user.password" type="password"></el-input>
                        </el-form-item>
                        <el-form-item>
                            <el-button type="primary"  @click="login">登录</el-button>
                            <el-button type="primary"  @click="zhuce">注册</el-button>
                        </el-form-item>
                    </el-form>
                </el-row>
         </div>

 </div>
</template>

<script>
export default {
  data () {
    return {
      
    }
  },
  methods: {

  }
}
</script>

<style scoped>

</style>
